﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;

namespace PrintService
{
    public abstract class AbstractRequest
    {
        protected static uint id = 0;

        [JsonProperty(PropertyName = "jsonrpc")]
        protected string JSONRPC { get; set; }
        [JsonProperty(PropertyName = "id")]
        protected uint Id { get; set; }
        [JsonProperty(PropertyName = "method")]
        protected string Method { get; set; }
        [JsonProperty(PropertyName = "params")]
        protected object[] Params { get; set; }
    }
}
